/**
 * 零基础学C语言
 * 
 * @version 1st
 * @author 明日科技
 * @see http://www.mingrisoft.com
 */

#include <stdio.h>

int main() {
    int iNum1, iNum2, iNum3, iResult = 0;

    iNum1 = 5;
    iNum2 = 6;
    iNum3 = 9;

    iResult = iNum1 + iNum2 - iNum3;
    printf("the result is : %d\n", iResult);

    iResult = iNum1 + iNum2 * iNum3;
    printf("the result is : %d\n", iResult);
    
    iResult = (iNum1 + iNum2) * iNum3;
    printf("the result is : %d\n", iResult);
    
    return 0;
}

/*
output:
the result is : 2
the result is : 59
the result is : 99
*/